#include <stdio.h>
#include "dump.h"

void dumpCharArray(char *arrayName,char *array,int size)
{
	int i = 0;
	printf("%s: ",arrayName);
	while(i < size)
	{
		printf("%02X",(unsigned char)array[i]);
		i++;
	}
	printf("\r\n");
}

void dumpArray(char *arrayName,int *array,int size)
{
	int i = 0;
	printf("%s: ",arrayName);
	while(i < size)
	{
		printf("%d,",array[i]);
		i++;
	}
	printf("\r\n");
}